Micron Document
🎖️GitЯра🎖️

Node / meshtastic / Meshtastic-Android / files / core / ui / src / main / kotlin / org / meshtastic / core / ui / component / ClickableTextField.kt

Displaying Raw • Download

core/ui/src/main/kotlin/org/meshtastic/core/ui/component/ClickableTextField.kt 1c3784235e7e20ed88e054097d2e7addbff92dc3 (1c378423) Text, 2.02 KB

T8b949e/*
* Copyright (c) 2025 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

Tff7b72package T7ee787org.meshtastic.core.ui.component

Tff7b72import T7ee787androidx.compose.foundation.interaction.MutableInteractionSource
Tff7b72import T7ee787androidx.compose.foundation.interaction.collectIsPressedAsState
Tff7b72import T7ee787androidx.compose.material3.Icon
Tff7b72import T7ee787androidx.compose.material3.OutlinedTextField
Tff7b72import T7ee787androidx.compose.material3.Text
Tff7b72import T7ee787androidx.compose.runtime.Composable
Tff7b72import T7ee787androidx.compose.runtime.getValue
Tff7b72import T7ee787androidx.compose.runtime.remember
Tff7b72import T7ee787androidx.compose.ui.Modifier
Tff7b72import T7ee787androidx.compose.ui.graphics.vector.ImageVector
Tff7b72import T7ee787org.jetbrains.compose.resources.StringResource
Tff7b72import T7ee787org.jetbrains.compose.resources.stringResource

Tf0883e@Composable
Tff7b72fun Td2a8ffClickableTextFieldTb4b4b4(
Te6edf3labelTb4b4b4: Te6edf3StringResourceTb4b4b4,
Te6edf3enabledTb4b4b4: Tffa657BooleanTb4b4b4,
Te6edf3trailingIconTb4b4b4: Te6edf3ImageVectorTb4b4b4,
Te6edf3valueTb4b4b4: Tffa657StringTb4b4b4,
Te6edf3onClickTb4b4b4: Tb4b4b4(Tb4b4b4) Tff7b72-Tff7b72> Tffa657UnitTb4b4b4,
Te6edf3modifierTb4b4b4: Te6edf3Modifier Tff7b72= Te6edf3ModifierTb4b4b4,
Te6edf3isErrorTb4b4b4: Tffa657Boolean Tff7b72= Tff7b72falseTb4b4b4,
Tb4b4b4) Tb4b4b4{
Tff7b72val Te6edf3source Tff7b72= Te6edf3remember Tb4b4b4{ Te6edf3MutableInteractionSourceTb4b4b4(Tb4b4b4) Tb4b4b4}
Tff7b72val Te6edf3isPressed Tff7b72by Te6edf3sourceTb4b4b4.Te6edf3collectIsPressedAsStateTb4b4b4(Tb4b4b4)
Tff7b72if Tb4b4b4(Te6edf3isPressedTb4b4b4) Te6edf3onClickTb4b4b4(Tb4b4b4)

Te6edf3OutlinedTextFieldTb4b4b4(
Te6edf3valueTb4b4b4,
Te6edf3onValueChange Tff7b72= Tb4b4b4{Tb4b4b4}Tb4b4b4,
Te6edf3enabled Tff7b72= Te6edf3enabledTb4b4b4,
Te6edf3readOnly Tff7b72= Tff7b72trueTb4b4b4,
Te6edf3label Tff7b72= Tb4b4b4{ Te6edf3TextTb4b4b4(Te6edf3stringResourceTb4b4b4(Te6edf3labelTb4b4b4)Tb4b4b4) Tb4b4b4}Tb4b4b4,
Te6edf3trailingIcon Tff7b72= Tb4b4b4{ Te6edf3IconTb4b4b4(Te6edf3trailingIconTb4b4b4, Tff7b72nullTb4b4b4) Tb4b4b4}Tb4b4b4,
Te6edf3isError Tff7b72= Te6edf3isErrorTb4b4b4,
Te6edf3interactionSource Tff7b72= Te6edf3sourceTb4b4b4,
Te6edf3modifier Tff7b72= Te6edf3modifierTb4b4b4,
Tb4b4b4)
Tb4b4b4}

Served by rngit 1.5.0 - Generated in 0.04s